//
//  UITextField+setColor.m
//  JJHW_coreData
//
//  Created by lizhenqiang on 16/5/22.
//  Copyright © 2016年 HFKJ_LZQ. All rights reserved.
//

#import "UITextField+setColor.h"

@implementation UITextField (setColor)
-(void)setTextFieldColor:(UIColor *)textColor placeColor:(UIColor *)placeColor andStr:(NSString *)str
{
    self.textColor = textColor;
    self.tintColor = textColor;
    self.placeholder =str;
    self.attributedPlaceholder = [[NSAttributedString alloc] initWithString:str attributes:@{NSForegroundColorAttributeName: placeColor}];
}
@end
